package com.blockmeta.bbs.overallserviceapplication.umeng;

/**
 * Created by AirThor
 * Date 2018/1/23.
 * 三方登陆后信息存放在这里，并且单列此类，实现数据在不同的页面传输
 */

public class ThirdLoginDataPOJO {
    private ThirdLoginDataPOJO(){}
    private static class InstanceHolder{
        private static final ThirdLoginDataPOJO INSTANCE= new ThirdLoginDataPOJO();
    }
    public static ThirdLoginDataPOJO getINSTANCE() {
        return InstanceHolder.INSTANCE;
    }

    private String uid;
    private String unionid;
    private String name;
    private String iconUrl;
    private String type;
    private String stoken;

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public void setType(String type){
        this.type=type;
    }

    public void setStoken(String stoken) {
        this.stoken = stoken;
    }

    public String getUid() {
        return uid;
    }

    public String getUnionid() {
        return unionid;
    }

    public String getName() {
        return name;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public String getType(){
        return type;
    }

    public String getStoken() {
        return stoken;
    }
}
